package com.csist.service.po.basicInfoModule;

import com.csist.pojo.po.basicInfoModule.EducationStatus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName EducationStatusService
 * @Description 【自行描述】
 * @Author cn
 * @Date 2024/6/27 12:40
 * @Version 1.0
 */
public interface EducationStatusService {
    /**
     * 查询所有在校状态
     *
     * @return
     */
    List<EducationStatus> findAll();

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    EducationStatus getEducationStatusById(@Param("id") int id);

    /**
     * 根据条件模糊查询
     *
     * @param educationStatus
     * @return
     */
    List<EducationStatus> findEducationStatusFuzzy(EducationStatus educationStatus);

    /**
     * 根据条件查询
     *
     * @param educationStatus
     * @return
     */
    List<EducationStatus> findEducationStatus(EducationStatus educationStatus);


    /**
     * 添加在校状态信息
     *
     * @param educationStatus
     * @return
     */
    int addEducationStatus(EducationStatus educationStatus);

    /**
     * 修改在校状态信息
     *
     * @param educationStatus
     * @return
     */
    int updateEducationStatus(EducationStatus educationStatus);

    /**
     * 修改在校状态的状态
     *
     * @param esId
     * @return
     */
    int updateEducationStatusStatus(int esId);

    /**
     * 删除在校状态
     *
     * @param esId
     * @return
     */
    int deleteEducationStatus(int esId);
}
